//
//  NowTabbar.m
//  CKApp
//
//  Created by CC on 2020/9/1.
//  Copyright © 2020 This Moment. All rights reserved.
//

#import "NowTabbar.h"

@interface NowTabbar ()
@property(nonatomic, weak) IBOutlet UIImageView* originalImageView;
@property(nonatomic, weak) IBOutlet UIImageView* targetImageView;
@end

@implementation NowTabbar

- (void)show {
  [UIView animateWithDuration:4 animations:^{
    CGAffineTransform t1 = CGAffineTransformMakeScale(2.0, 2.0);
    CGAffineTransform t2 = CGAffineTransformMakeRotation(M_PI);
    self.originalImageView.transform = CGAffineTransformConcat(t1, t2);
  } completion:^(BOOL finished) {
  }];

}

- (void)hide {
  [UIView animateWithDuration:4 animations:^{
    self.originalImageView.transform = CGAffineTransformIdentity;
  } completion:^(BOOL finished) {

  }];
}

@end
